<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>科技前沿论坛 - 详情与帖子</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        :root {
            --primary: #4F46E5;
            --primary-light: #818CF8;
            --primary-dark: #3730A3;
            --secondary: #10B981;
            --danger: #EF4444;
            --light-bg: #F8FAFC;
            --card-bg: #FFFFFF;
            --text-primary: #1E293B;
            --text-secondary: #64748B;
            --border-light: #E2E8F0;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --radius: 8px;
            --transition: all 0.3s ease;
        }
        
        body {
            font-family: 'Inter', system-ui, sans-serif;
            background-color: var(--light-bg);
            color: var(--text-primary);
            line-height: 1.6;
        }
        
        .container {
            max-width: 1400px;
        }
        
        /* 论坛头部样式 */
        .forum-header-banner {
            height: 240px;
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            border-radius: var(--radius) var(--radius) 0 0;
            position: relative;
            overflow: hidden;
        }
        
        .forum-header-banner::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }
        
        .forum-header-content {
            position: relative;
            color: white;
            padding: 2rem;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }
        
        .forum-header-actions {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            display: flex;
            gap: 1rem;
        }
        
        .forum-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 4px solid white;
            margin-top: -60px;
            box-shadow: var(--shadow);
            background-color: white;
            overflow: hidden;
        }
        
        .forum-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .forum-title-container {
            display: flex;
            align-items: flex-end;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .forum-title {
            font-size: 2rem;
            font-weight: 700;
            margin: 0;
        }
        
        .forum-badge {
            background-color: rgba(255, 255, 255, 0.2);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
        }
        
        .forum-meta {
            display: flex;
            gap: 1.5rem;
            margin-bottom: 1rem;
            font-size: 0.95rem;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        /* 论坛信息和侧边栏 */
        .forum-container {
            display: flex;
            gap: 2rem;
            margin-top: 2rem;
        }
        
        .forum-main-content {
            flex: 1;
        }
        
        .forum-sidebar {
            width: 300px;
            flex-shrink: 0;
        }
        
        .sidebar-card {
            background-color: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .sidebar-title {
            font-weight: 600;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--border-light);
        }
        
        .forum-description {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
        }
        
        .forum-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }
        
        .forum-tag {
            font-size: 0.8rem;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            background-color: rgba(79, 70, 229, 0.1);
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        
        .forum-tag:hover {
            background-color: rgba(79, 70, 229, 0.2);
            color: var(--primary-dark);
        }
        
        .moderator-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .moderator-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }
        
        .moderator-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            overflow: hidden;
        }
        
        .moderator-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .moderator-info {
            flex: 1;
        }
        
        .moderator-name {
            font-weight: 500;
            margin-bottom: 0;
            font-size: 0.95rem;
        }
        
        .moderator-role {
            color: var(--text-secondary);
            font-size: 0.8rem;
            margin-bottom: 0;
        }
        
        .join-date {
            color: var(--text-secondary);
            font-size: 0.85rem;
        }
        
        /* 帖子筛选和导航 */
        .posts-filter {
            background-color: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 1rem 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .filter-tabs {
            display: flex;
            gap: 0.5rem;
            overflow-x: auto;
            padding-bottom: 0.5rem;
        }
        
        .filter-tab {
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            white-space: nowrap;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .filter-tab.active {
            background-color: var(--primary);
            color: white;
        }
        
        .filter-tab:not(.active) {
            background-color: var(--light-bg);
            color: var(--text-secondary);
        }
        
        .filter-tab:not(.active):hover {
            background-color: #F1F5F9;
            color: var(--text-primary);
        }
        
        .post-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1rem;
        }
        
        .sort-select {
            padding: 0.5rem;
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            background-color: var(--light-bg);
            color: var(--text-primary);
            font-size: 0.9rem;
        }
        
        .btn-create-post {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 0.5rem 1.25rem;
            border-radius: var(--radius);
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: var(--transition);
        }
        
        .btn-create-post:hover {
            background-color: var(--primary-dark);
        }
        
        /* 帖子样式 */
        .posts-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .post-card {
            background-color: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            overflow: hidden;
            transition: var(--transition);
        }
        
        .post-card:hover {
            box-shadow: var(--shadow-hover);
        }
        
        .post-header {
            padding: 1rem 1.5rem;
            border-bottom: 1px solid var(--border-light);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .post-author {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        
        .author-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            overflow: hidden;
        }
        
        .author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .author-info {
            display: flex;
            flex-direction: column;
        }
        
        .author-name {
            font-weight: 500;
            font-size: 0.95rem;
            margin-bottom: 0;
        }
        
        .post-time {
            color: var(--text-secondary);
            font-size: 0.8rem;
        }
        
        .post-menu {
            color: var(--text-secondary);
            cursor: pointer;
        }
        
        .post-content {
            padding: 1.5rem;
        }
        
        .post-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }
        
        .post-text {
            color: var(--text-primary);
            margin-bottom: 1rem;
            line-height: 1.7;
        }
        
        .post-media {
            margin-bottom: 1rem;
            border-radius: var(--radius);
            overflow: hidden;
        }
        
        .media-single {
            width: 100%;
            max-height: 500px;
            object-fit: cover;
        }
        
        .media-multiple {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 4px;
        }
        
        .media-multiple img {
            width: 100%;
            height: 250px;
            object-fit: cover;
        }
        
        .media-video {
            width: 100%;
            max-height: 500px;
            border-radius: var(--radius);
            overflow: hidden;
            position: relative;
        }
        
        .media-video video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .video-play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .video-play-btn:hover {
            background-color: var(--primary);
            transform: translate(-50%, -50%) scale(1.05);
        }
        
        .post-footer {
            padding: 0.75rem 1.5rem;
            border-top: 1px solid var(--border-light);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .post-stats {
            display: flex;
            gap: 1.5rem;
        }
        
        .post-stat {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        
        .post-stat i {
            font-size: 1rem;
        }
        
        .post-actions-buttons {
            display: flex;
            gap: 1rem;
        }
        
        .post-action-btn {
            background: none;
            border: none;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
            cursor: pointer;
            transition: var(--transition);
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
        }
        
        .post-action-btn:hover {
            color: var(--primary);
            background-color: rgba(79, 70, 229, 0.05);
        }
        
        .post-action-btn.liked {
            color: var(--danger);
        }
        
        .post-action-btn.bookmarked {
            color: var(--primary);
        }
        
        /* 分页样式 */
        .pagination-container {
            margin-top: 2rem;
            display: flex;
            justify-content: center;
        }
        
        .pagination {
            display: flex;
            gap: 0.5rem;
        }
        
        .page-btn {
            width: 36px;
            height: 36px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--card-bg);
            border: 1px solid var(--border-light);
            color: var(--text-secondary);
            cursor: pointer;
            transition: var(--transition);
        }
        
        .page-btn:hover {
            border-color: var(--primary-light);
            color: var(--primary);
        }
        
        .page-btn.active {
            background-color: var(--primary);
            border-color: var(--primary);
            color: white;
        }
        
        .page-btn.disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        /* 按钮样式 */
        .btn {
            padding: 0.5rem 1rem;
            border-radius: var(--radius);
            font-weight: 500;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .btn-primary {
            background-color: var(--primary);
            color: white;
        }
        
        .btn-primary:hover {
            background-color: var(--primary-dark);
        }
        
        .btn-outline {
            background-color: transparent;
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.5);
        }
        
        .btn-outline:hover {
            background-color: rgba(255, 255, 255, 0.1);
            border-color: white;
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .forum-container {
                flex-direction: column;
            }
            
            .forum-sidebar {
                width: 100%;
            }
            
            .media-multiple img {
                height: 200px;
            }
        }
        
        @media (max-width: 768px) {
            .forum-header-banner {
                height: 200px;
            }
            
            .forum-avatar {
                width: 100px;
                height: 100px;
                margin-top: -50px;
            }
            
            .forum-title {
                font-size: 1.75rem;
            }
            
            .forum-meta {
                flex-wrap: wrap;
                gap: 1rem;
            }
            
            .media-multiple {
                grid-template-columns: 1fr;
            }
            
            .media-multiple img {
                height: 250px;
            }
            
            .post-footer {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }
            
            .post-actions-buttons {
                width: 100%;
                justify-content: space-between;
            }
        }
        
        @media (max-width: 576px) {
            .forum-header-banner {
                height: 180px;
            }
            
            .forum-header-actions {
                top: 1rem;
                right: 1rem;
                gap: 0.5rem;
            }
            
            .btn {
                padding: 0.4rem 0.75rem;
                font-size: 0.9rem;
            }
            
            .btn i {
                font-size: 1rem;
            }
            
            .forum-title {
                font-size: 1.5rem;
            }
            
            .post-title {
                font-size: 1.1rem;
            }
            
            .filter-tabs {
                gap: 0.25rem;
            }
            
            .filter-tab {
                padding: 0.4rem 0.75rem;
                font-size: 0.85rem;
            }
            
            .post-stats {
                gap: 1rem;
                flex-wrap: wrap;
            }
        }
    </style>
</head>
<body>
    <div class="container py-5 px-4">
        <!-- 论坛头部横幅 -->
        <div class="forum-header-banner">
            <div class="forum-header-actions">
                <button class="btn btn-outline">
                    <i class="fas fa-share-alt"></i>
                    <span>分享</span>
                </button>
                <button class="btn btn-primary">
                    <i class="fas fa-user-plus"></i>
                    <span>加入论坛</span>
                </button>
            </div>
            <div class="forum-header-content">
                <div class="forum-title-container">
                    <h1 class="forum-title">科技前沿论坛</h1>
                    <span class="forum-badge">官方认证</span>
                </div>
                <div class="forum-meta">
                    <div class="meta-item">
                        <i class="fas fa-users"></i>
                        <span>5.7k 成员</span>
                    </div>
                    <div class="meta-item">
                        <i class="fas fa-comment"></i>
                        <span>3.2k 帖子</span>
                    </div>
                    <div class="meta-item">
                        <i class="fas fa-eye"></i>
                        <span>12.8k 浏览</span>
                    </div>
                    <div class="meta-item">
                        <i class="fas fa-calendar"></i>
                        <span>创建于 2022-03-15</span>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 论坛内容区 -->
        <div class="forum-container">
            <!-- 主要内容区 -->
            <div class="forum-main-content">
                <!-- 帖子筛选 -->
                <div class="posts-filter">
                    <div class="filter-tabs">
                        <div class="filter-tab active">全部帖子</div>
                        <div class="filter-tab">热门讨论</div>
                        <div class="filter-tab">最新发布</div>
                        <div class="filter-tab">精华内容</div>
                        <div class="filter-tab">问答专区</div>
                        <div class="filter-tab">活动通知</div>
                    </div>
                    
                    <div class="post-actions">
                        <select class="sort-select">
                            <option value="latest">最新发布</option>
                            <option value="popular">热门程度</option>
                            <option value="comments">评论最多</option>
                            <option value="likes">点赞最多</option>
                        </select>
                        
                        <button class="btn-create-post">
                            <i class="fas fa-plus"></i>
                            <span>发布新帖</span>
                        </button>
                    </div>
                </div>
                
                <!-- 帖子列表 -->
                <div class="posts-list">
                    <!-- 文字帖子 -->
                    <div class="post-card">
                        <div class="post-header">
                            <div class="post-author">
                                <div class="author-avatar">
                                    <img src="https://picsum.photos/id/64/100/100" alt="用户头像">
                                </div>
                                <div class="author-info">
                                    <span class="author-name">科技探索者</span>
                                    <span class="post-time">2小时前</span>
                                </div>
                            </div>
                            <div class="post-menu">
                                <i class="fas fa-ellipsis-h"></i>
                            </div>
                        </div>
                        <div class="post-content">
                            <h3 class="post-title">人工智能在医疗领域的最新应用与突破</h3>
                            <div class="post-text">
                                最近关注到AI在医疗诊断方面有了不少突破性进展，特别是在影像识别和疾病预测方面。有研究显示，AI系统在某些癌症早期检测中的准确率已经超过了传统的放射科医生。这不仅能提高诊断效率，还能大大降低误诊率。

                                但同时也存在一些伦理和隐私方面的问题需要解决。大家对AI在医疗领域的应用有什么看法？有没有了解相关最新研究的朋友可以分享一下？
                            </div>
                        </div>
                        <div class="post-footer">
                            <div class="post-stats">
                                <div class="post-stat">
                                    <i class="fas fa-heart"></i>
                                    <span>128</span>
                                </div>
                                <div class="post-stat">
                                    <i class="fas fa-comment"></i>
                                    <span>42</span>
                                </div>
                                <div class="post-stat">
                                    <i class="fas fa-eye"></i>
                                    <span>856</span>
                                </div>
                            </div>
                            <div class="post-actions-buttons">
                                <button class="post-action-btn liked">
                                    <i class="fas fa-heart"></i>
                                    <span>点赞</span>
                                </button>
                                <button class="post-action-btn">
                                    <i class="far fa-comment"></i>
                                    <span>评论</span>
                                </button>
                                <button class="post-action-btn">
                                    <i class="far fa-bookmark"></i>
                                    <span>收藏</span>
                                </button>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 单图帖子 -->
                    <div class="post-card">
                        <div class="post-header">
                            <div class="post-author">
                                <div class="author-avatar">
                                    <img src="https://picsum.photos/id/91/100/100" alt="用户头像">
                                </div>
                                <div class="author-info">
                                    <span class="author-name">数码爱好者</span>
                                    <span class="post-time">昨天 14:35</span>
                                </div>
                            </div>
                            <div class="post-menu">
                                <i class="fas fa-ellipsis-h"></i>
                            </div>
                        </div>
                        <div class="post-content">
                            <h3 class="post-title">最新款折叠屏手机开箱体验</h3>
                            <div class="post-text">
                                终于拿到了期待已久的最新款折叠屏手机，分享一下我的开箱体验。这款手机在折叠设计上有了明显改进，折痕比上一代减少了很多，几乎不影响日常使用。

                                外屏尺寸也增大了不少，日常查看信息基本不用打开内屏。性能方面非常流畅，电池续航也超出预期。不过价格确实不便宜，大家觉得折叠屏手机现在值得入手吗？
                            </div>
                            <div class="post-media">
                                <img src="https://picsum.photos/id/160/800/500" alt="折叠屏手机开箱" class="media-single">
                            </div>
                        </div>
                        <div class="post-footer">
                            <div class="post-stats">
                                <div class="post-stat">
                                    <i class="fas fa-heart"></i>
                                    <span>256</span>
                                </div>
                                <div class="post-stat">
                                    <i class="fas fa-comment"></i>
                                    <span>93</span>
                                </div>
                                <div class="post-stat">
                                    <i class="fas fa-eye"></i>
                                    <span>1542</span>
                                </div>
                            </div>
                            <div class="post-actions-buttons">
                                <button class="post-action-btn">
                                    <i class="far fa-heart"></i>
                                    <span>点赞</span>
                                </button>
                                <button class="post-action-btn">
                                    <i class="far fa-comment"></i>
                                    <span>评论</span>
                                </button>
                                <button class="post-action-btn bookmarked">
                                    <i class="fas fa-bookmark"></i>
                                    <span>收藏</span>
                                </button>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 多图帖子 -->
                    <div class="post-card">
                        <div class="post-header">
                            <div class="post-author">
                                <div class="author-avatar">
                                    <img src="https://picsum.photos/id/26/100/100" alt="用户头像">
                                </div>
                                <div class="author-info">
                                    <span class="author-name">未来科技</span>
                                    <span class="post-time">3天前</span>
                                </div>
                            </div>
                            <div class="post-menu">
                                <i class="fas fa-ellipsis-h"></i>
                            </div>
                        </div>
                        <div class="post-content">
                            <h3 class="post-title">探访2023年国际消费电子展，这些黑科技值得关注！</h3>
                            <div class="post-text">
                                刚从CES 2023回来，给大家分享一些现场看到的最令人印象深刻的黑科技产品。今年的展会聚焦于智能家居整合、AR/VR应用以及可持续能源解决方案。

                                特别让我惊艳的是几款新型可穿戴设备，能够实时监测多项健康指标，还有令人惊叹的8K折叠电视原型。现场拍了一些照片，分享给没能到场的朋友。
                            </div>
                            <div class="post-media">
                                <div class="media-multiple">
                                    <img src="https://picsum.photos/id/119/600/400" alt="展会现场1">
                                    <img src="https://picsum.photos/id/180/600/400" alt="展会现场2">
                                    <img src="https://picsum.photos/id/160/600/400" alt="展会现场3">
                                    <img src="https://picsum.photos/id/96/600/400" alt="展会现场4">
                                </div>
                            </div>
                        </div>
                        <div class="post-footer">
                            <div class="post-stats">
                                <div class="post-stat">
                                    <i class="fas fa-heart"></i>
                                    <span>342</span>
                                </div>
                                <div class="post-stat">
                                    <i class="fas fa-comment"></i>
                                    <span>128</span>
                                </div>
                                <div class="post-stat">
                                    <i class="fas fa-eye"></i>
                                    <span>2156</span>
                                </div>
                            </div>
                            <div class="post-actions-buttons">
                                <button class="post-action-btn">
                                    <i class="far fa-heart"></i>
                                    <span>点赞</span>
                                </button>
                                <button class="post-action-btn">
                                    <i class="far fa-comment"></i>
                                    <span>评论</span>
                                </button>
                                <button class="post-action-btn">
                                    <i class="far fa-bookmark"></i>
                                    <span>收藏</span>
                                </button>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 视频帖子 -->
                    <div class="post-card">
                        <div class="post-header">
                            <div class="post-author">
                                <div class="author-avatar">
                                    <img src="https://picsum.photos/id/65/100/100" alt="用户头像">
                                </div>
                                <div class="author-info">
                                    <span class="author-name">AI研究者</span>
                                    <span class="post-time">1周前</span>
                                </div>
                            </div>
                            <div class="post-menu">
                                <i class="fas fa-ellipsis-h"></i>
                            </div>
                        </div>
                        <div class="post-content">
                            <h3 class="post-title">用GPT-4构建智能聊天机器人的全过程演示</h3>
                            <div class="post-text">
                                这个视频展示了如何使用GPT-4 API构建一个功能完整的智能聊天机器人，包括环境搭建、API调用、前端界面设计以及部署上线的全过程。

                                即使你没有太多编程经验，也能跟着视频一步步实现。视频最后还分享了一些优化技巧和成本控制方法，希望对想入门AI应用开发的朋友有所帮助。
                            </div>
                            <div class="post-media media-video">
                                <img src="https://picsum.photos/id/1/800/450" alt="视频封面" class="media-single">
                                <div class="video-play-btn">
                                    <i class="fas fa-play"></i>
                                </div>
                                <!-- 实际项目中这里会是video标签 -->
                                <!-- <video controls poster="https://picsum.photos/id/1/800/450">
                                    <source src="video.mp4" type="video/mp4">
                                </video> -->
                            </div>
                        </div>
                        <div class="post-footer">
                            <div class="post-stats">
                                <div class="post-stat">
                                    <i class="fas fa-heart"></i>
                                    <span>487</span>
                                </div>
                                <div class="post-stat">
                                    <i class="fas fa-comment"></i>
                                    <span>156</span>
                                </div>
                                <div class="post-stat">
                                    <i class="fas fa-eye"></i>
                                    <span>3245</span>
                                </div>
                                <div class="post-stat">
                                    <i class="fas fa-play"></i>
                                    <span>1892</span>
                                </div>
                            </div>
                            <div class="post-actions-buttons">
                                <button class="post-action-btn liked">
                                    <i class="fas fa-heart"></i>
                                    <span>点赞</span>
                                </button>
                                <button class="post-action-btn">
                                    <i class="far fa-comment"></i>
                                    <span>评论</span>
                                </button>
                                <button class="post-action-btn bookmarked">
                                    <i class="fas fa-bookmark"></i>
                                    <span>收藏</span>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 分页 -->
                <div class="pagination-container">
                    <div class="pagination">
                        <div class="page-btn disabled">
                            <i class="fas fa-chevron-left"></i>
                        </div>
                        <div class="page-btn active">1</div>
                        <div class="page-btn">2</div>
                        <div class="page-btn">3</div>
                        <div class="page-btn">4</div>
                        <div class="page-btn">5</div>
                        <div class="page-btn">
                            <i class="fas fa-chevron-right"></i>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 侧边栏 -->
            <div class="forum-sidebar">
                <!-- 论坛信息 -->
                <div class="sidebar-card">
                    <div class="d-flex align-items-center gap-2 mb-3">
                        <div class="forum-avatar">
                            <img src="https://picsum.photos/id/1040/200/200" alt="科技前沿论坛图标">
                        </div>
                        <div>
                            <h3 class="forum-title" style="font-size: 1.25rem; margin-bottom: 0;">科技前沿论坛</h3>
                            <div class="join-date">创建于 2022-03-15</div>
                        </div>
                    </div>
                    
                    <p class="forum-description">
                        讨论最新科技趋势、人工智能发展、区块链应用、元宇宙概念以及各类数码产品评测。这里汇聚了众多科技爱好者和行业专家，分享前沿资讯和独到见解。
                    </p>
                    
                    <div class="forum-tags">
                        <a href="#" class="forum-tag">科技</a>
                        <a href="#" class="forum-tag">人工智能</a>
                        <a href="#" class="forum-tag">数码产品</a>
                        <a href="#" class="forum-tag">区块链</a>
                        <a href="#" class="forum-tag">元宇宙</a>
                    </div>
                    
                    <button class="btn btn-primary w-100">
                        <i class="fas fa-user-plus"></i>
                        <span>加入论坛</span>
                    </button>
                </div>
                
                <!-- 论坛管理者 -->
                <div class="sidebar-card">
                    <h3 class="sidebar-title">论坛管理团队</h3>
                    <ul class="moderator-list">
                        <li class="moderator-item">
                            <div class="moderator-avatar">
                                <img src="https://picsum.photos/id/177/100/100" alt="管理员头像">
                            </div>
                            <div class="moderator-info">
                                <p class="moderator-name">科技先锋</p>
                                <p class="moderator-role">论坛创始人</p>
                            </div>
                        </li>
                        <li class="moderator-item">
                            <div class="moderator-avatar">
                                <img src="https://picsum.photos/id/342/100/100" alt="管理员头像">
                            </div>
                            <div class="moderator-info">
                                <p class="moderator-name">AI专家</p>
                                <p class="moderator-role">高级管理员</p>
                            </div>
                        </li>
                        <li class="moderator-item">
                            <div class="moderator-avatar">
                                <img src="https://picsum.photos/id/237/100/100" alt="管理员头像">
                            </div>
                            <div class="moderator-info">
                                <p class="moderator-name">数码达人</p>
                                <p class="moderator-role">版主</p>
                            </div>
                        </li>
                    </ul>
                </div>
                
                <!-- 活跃成员 -->
                <div class="sidebar-card">
                    <h3 class="sidebar-title">活跃成员</h3>
                    <ul class="moderator-list">
                        <li class="moderator-item">
                            <div class="moderator-avatar">
                                <img src="https://picsum.photos/id/338/100/100" alt="用户头像">
                            </div>
                            <div class="moderator-info">
                                <p class="moderator-name">量子计算</p>
                                <p class="moderator-role">发布了 128 个帖子</p>
                            </div>
                        </li>
                        <li class="moderator-item">
                            <div class="moderator-avatar">
                                <img src="https://picsum.photos/id/349/100/100" alt="用户头像">
                            </div>
                            <div class="moderator-info">
                                <p class="moderator-name">未来网络</p>
                                <p class="moderator-role">发布了 95 个帖子</p>
                            </div>
                        </li>
                        <li class="moderator-item">
                            <div class="moderator-avatar">
                                <img src="https://picsum.photos/id/399/100/100" alt="用户头像">
                            </div>
                            <div class="moderator-info">
                                <p class="moderator-name">智能生活</p>
                                <p class="moderator-role">发布了 76 个帖子</p>
                            </div>
                        </li>
                    </ul>
                </div>
                
                <!-- 论坛规则 -->
                <div class="sidebar-card">
                    <h3 class="sidebar-title">论坛规则</h3>
                    <ul class="list-unstyled" style="color: var(--text-secondary); font-size: 0.9rem;">
                        <li class="mb-2">
                            <i class="fas fa-check-circle" style="color: var(--secondary); margin-right: 0.5rem;"></i>
                            禁止发布违反法律法规的内容
                        </li>
                        <li class="mb-2">
                            <i class="fas fa-check-circle" style="color: var(--secondary); margin-right: 0.5rem;"></i>
                            保持友好交流，禁止人身攻击
                        </li>
                        <li class="mb-2">
                            <i class="fas fa-check-circle" style="color: var(--secondary); margin-right: 0.5rem;"></i>
                            禁止发布广告和无关链接
                        </li>
                        <li class="mb-2">
                            <i class="fas fa-check-circle" style="color: var(--secondary); margin-right: 0.5rem;"></i>
                            尊重知识产权，转载请注明来源
                        </li>
                        <li>
                            <i class="fas fa-check-circle" style="color: var(--secondary); margin-right: 0.5rem;"></i>
                            技术讨论请保持专业性
                        </li>
                    </ul>
                    <a href="#" style="color: var(--primary); font-size: 0.9rem; margin-top: 1rem; display: inline-block;">
                        查看完整规则 <i class="fas fa-arrow-right" style="font-size: 0.8rem;"></i>
                    </a>
                </div>
            </div>
        </div>
    </div>
    
    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 筛选标签切换
            const filterTabs = document.querySelectorAll('.filter-tab');
            filterTabs.forEach(tab => {
                tab.addEventListener('click', function() {
                    filterTabs.forEach(t => t.classList.remove('active'));
                    this.classList.add('active');
                    // 在实际应用中，这里会根据选中的标签加载对应类别的帖子
                    console.log(`切换到 ${this.textContent} 标签`);
                });
            });
            
            // 点赞功能
            const likeButtons = document.querySelectorAll('.post-action-btn:not(.bookmarked)');
            likeButtons.forEach(button => {
                if (button.querySelector('.fa-heart')) {
                    button.addEventListener('click', function() {
                        this.classList.toggle('liked');
                        const icon = this.querySelector('.fa-heart');
                        
                        if (this.classList.contains('liked')) {
                            icon.classList.remove('far');
                            icon.classList.add('fas');
                        } else {
                            icon.classList.remove('fas');
                            icon.classList.add('far');
                        }
                        
                        // 更新点赞数（实际应用中会发送请求到服务器）
                        const postCard = this.closest('.post-card');
                        const likeStat = postCard.querySelector('.post-stat:first-child span');
                        let count = parseInt(likeStat.textContent);
                        likeStat.textContent = this.classList.contains('liked') ? count + 1 : count - 1;
                    });
                }
            });
            
            // 收藏功能
            const bookmarkButtons = document.querySelectorAll('.post-action-btn:has(.fa-bookmark)');
            bookmarkButtons.forEach(button => {
                button.addEventListener('click', function() {
                    this.classList.toggle('bookmarked');
                    const icon = this.querySelector('.fa-bookmark');
                    
                    if (this.classList.contains('bookmarked')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                    } else {
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                    }
                });
            });
            
            // 分页功能
            const pageBtns = document.querySelectorAll('.page-btn:not(.disabled)');
            pageBtns.forEach(btn => {
                if (!btn.querySelector('i')) { // 不是箭头按钮
                    btn.addEventListener('click', function() {
                        pageBtns.forEach(b => b.classList.remove('active'));
                        this.classList.add('active');
                        // 在实际应用中，这里会加载对应页的内容
                        console.log(`切换到第 ${this.textContent} 页`);
                    });
                }
            });
            
            // 视频播放按钮
            const videoPlayBtn = document.querySelector('.video-play-btn');
            if (videoPlayBtn) {
                videoPlayBtn.addEventListener('click', function() {
                    alert('在实际应用中，这里会播放视频');
                });
            }
        });
    </script>
</body>
</html>
    
